package twentytwentyone_3;

/**
 * @Author: Zahi
 * @Description:
 * @Date Created in 2021-03-24 16:47
 * @Modified By:
 */
public class ToLowerCase_709 {
    public static void main(String[] args){
        System.out.println(97-65);
    }

    public static String toLowerCase(String str){
        StringBuilder result = new StringBuilder();
        for (int i = 0; i < str.length(); i++) {
            if (64 < str.charAt(i) && str.charAt(i) < 90){
                result.append(str.charAt(i) + 32);
            }else {
                result.append(str.charAt(i));
            }
        }
        return result.toString();
    }
}
